import request from '@/utils/request';

/* 审批配置设置 */
export const qywxAudit = params => request({
    url: '/admin/setting/qywxAudit',
    method: 'GET',
    params
}).then(({ data }) => {
    return data;
}); // 获取配置

export const qywxall = params => request({
    url: '/admin/users/qywxall',
    method: 'GET',
    params
}).then(({ data }) => {
    return data;
}); // 用户列表

export const qywxAuditPut = params => request({
    url: '/admin/setting/qywxAudit',
    method: 'PUT',
    data: params
}).then(({ data }) => {
    return data;
}); // 保存配置
